/*
 * @Description: 数字钱包-模块路由
 * @Author: xinqiao lxq1990.0716@qq.com
 * @Date: 2025-02-11
 * @LastEditors: xinqiao lxq1990.0716@qq.com
 * @LastEditTime: 2025-02-12
 */

export default [
  {
    path: '/wallet',
    name: 'wallet',
    component: () => import('/@/layouts/layoutMenu.vue'),
    children: [
      // 交易管理
      {
        path: 'transfer',
        name: 'wallet-transfer',
        redirect: '/wallet/transfer/list',
        children: [
          {
            path: 'list',
            name: 'wallet-transfer-list',
            component: () => import('/@/views/main/wallet/transfer/list.vue'),
          },
        ],
      },
      // 安全管理
      {
        path: 'secure',
        name: 'wallet-secure',
        redirect: '/wallet/secure/list',
        children: [
          {
            path: 'list',
            name: 'wallet-secure-list',
            component: () => import('/@/views/main/wallet/secure/list.vue'),
          },
        ],
      },
      // 系统公告
      {
        path: 'notice',
        name: 'wallet-notice',
        redirect: '/wallet/notice/list',
        children: [
          {
            path: 'list',
            name: 'wallet-notice-list',
            component: () => import('/@/views/main/wallet/notice/list.vue'),
          },
        ],
      },
      // 币种管理
      {
        path: 'currency',
        name: 'wallet-currency',
        redirect: '/wallet/currency/list',
        children: [
          {
            path: 'list',
            name: 'wallet-currency-list',
            component: () => import('/@/views/main/wallet/currency/list.vue'),
          },
        ],
      },
    ],
  },
]
